//
// Created by ashCheng on 2022/11/19.
//
#include <iostream>

int main() {

  int min, max;
  std::cout << "Enter two numbers:" << std::endl;
  std::cin >> min >> max;
  int temp;
  if (min > max) {
    temp = min;
    min = max;
    max = temp;
  }
  while (max >= min) {
    std::cout << max << std::endl;
    max--;
  }
  return 0;
}